let login_method = document.querySelectorAll(".login_method li"),
    login_input = document.querySelectorAll(".main_user_comtent")

for (let i = 0; i < login_method.length; i++) {
    login_method[i].onclick = function () {
        for (let j = 0; j < login_method.length; j++) {
            login_method[j].classList.remove("isActive")
            login_method[j].children[0].classList.add("isShow")
            login_method[j].children[1].classList.remove("isShow")
            login_input[j].style.display = "none"
        }
        this.classList.add("isActive")
        this.children[0].classList.remove("isShow")
        this.children[1].classList.add("isShow")
        login_input[i].style.display = "block"
    }

}

document.querySelector(".sent_yzcode").onclick = function() {
    console.log(111);
}